package ym.ecrm.core.domain.salesManagement;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import ym.ecrm.core.domain.base.BaseEntity;

/**
 * 审批意见
 * 
 * @author Princess
 * @version 1.0
 */
@Entity
@Table(name = "t_approvalOpinion")
public class ApprovalOpinion extends BaseEntity {

	/**
	 * 审批人
	 */
	private String approver;
	/**
	 * 审批意见
	 */
	private String approvalOpinion;

	/**
	 * 合同
	 */
	@ManyToOne
	@JoinColumn(name = "contract_id")
	private Contract contract;

	public String getApprover() {
		return approver;
	}

	public void setApprover(String approver) {
		this.approver = approver;
	}

	public String getApprovalOpinion() {
		return approvalOpinion;
	}

	public void setApprovalOpinion(String approvalOpinion) {
		this.approvalOpinion = approvalOpinion;
	}

	public Contract getContract() {
		return contract;
	}

	public void setContract(Contract contract) {
		this.contract = contract;
	}

}
